import Index from '@/views/Index'
export default {
    path: '/order',
    name: 'order',
    redirect: '/order/game',
    component: Index,
    children: [
        {
            path: 'game',
            component: () => import('@/views/order/Game.vue'),
            name: 'game',
            meta: {
                title: '游戏订单',
                auth: true,
                breadcrumb: [{
                    title: '订单管理',
                    path: '/order'
                }, {
                    title: '游戏订单',
                    path: '/order/game'
                }]
            }
        }, {
            path: 'goods',
            component: () => import('@/views/order/Goods.vue'),
            name: 'goods',
            meta: {
                title: '积分兑换',
                auth: true,
                breadcrumb: [{
                    title: '订单管理',
                    path: '/order'
                }, {
                    title: '积分兑换',
                    path: '/order/goods'
                }]
            }
        }
    ]
}